package com.loong.common.dynamic;

import com.loong.common.nacos.DynamicTools;
import com.loong.global.constant.DynamicConfigKey;
import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class Demo {
    private String key1;
    private String key2;

    public static Demo getConfig(){
        return DynamicTools.getDynamicKey(DynamicConfigKey.DEMO.DEMO_KEY,Demo.class);
    }
}
